#define  _CRT_SECURE_NO_WARNINGS 1

#include "RedBlack.h"
#include <vector>

void TestRBTree()
{
	RedBlackTree<int, int> t;
	vector<int> v;
	for (int i = 1; i <= 50000; ++i)
	{
		v.push_back(i);
	}

	for (auto e : v)
	{
		t.insert({ e,e });
	}


	cout << t.checkRBTree() << endl;
}

int main()
{
	TestRBTree();

	return 0;
}
